import os
from langchain.agents import *
from langchain.llms import SQLDatabase
from langchain.sql_database import SQLDatabase
db_user = "root"
db_password = "root"
db_host = "127.0.0.1"
db_name = "langchain_demo"
db = SQLDatabase.from_uri(f"mysql+pymysql://{db_user}:{db_password}@{db_host}/{db_name}")